<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>商家 - <{$setting.title}></title>
		<meta content="<{$setting.keywords}>" name="keywords" />
		<meta content="<{$setting.description}>" name="description" />
		<link href="<{$weburl}>/templates/default/<{$setting.templates}>/css/dealer.css" rel="stylesheet" type="text/css"/>
		<script type="text/javascript" src="<{$weburl}>/static/js/jquery.js"></script>
		<script language="JavaScript">
			$(function() {
				//品牌选择
				$("#brand").change(function(){
					$.get("<{$weburl}>/index.php?m=ajax&ajax=1", { 
						bid :  $("#brand").val() 
					}, function (data, textStatus){
						   $("#subbrand").html(data); // 把返回的数据添加到页面上
						}
					);
				});

				$("div.car_tab ul li a").mouseover(function() {
					$(this).addClass("here").parent().siblings().children().removeClass("here");
					var index = $div_li.index(this);
					$("div.cartab_box > div").eq(index).show().siblings().hide();
				});
			})
		</script>
		</head>
	<body>
<!--内容--> 
<{include file="default/`$setting.templates`/head.html"}>
<div class="nav">您当前的位置：<a href="<{$weburl}>/">首页</a> <span>></span> 商家</div>
<div class="main clearfix mt10">
	<div class="main_left">
		<div class="dealerbox">
			<div class="dealer_tab">
				<ul>
					<li <{if $shoptype==""}>class="here"<{/if}>><a href="<{$weburl}>/index.php?m=dealer">全部</a></li>
					<{foreach from=$dealer_category key=skey item=category}>
					<li <{if $shoptype==$skey}>class="here"<{/if}>><a href="<{$weburl}>/index.php?m=dealer&s=<{$skey}>"><{$category}></a></li>
					<{/foreach}>
				</ul>
			</div>
			<div class="box">
				<ul class="dealerlist clearfix">
					<{foreach from=$dealerlist key=skey item=dealer_list}>
					<li>
						<p class="company"><a href="<{$weburl}>/index.php?m=shop&id=<{$dealer_list.id}>" class="fb" target="_blank"><{$dealer_list.company}></a></p>
						<p>联系电话：<{$dealer_list.mobilephone}> <{$dealer_list.tel}></p>
						<p>联系地址：<{$dealer_list.address}></p>
					</li>
					<{/foreach}>
				</ul>
				<div class="page_list"><{$button_basic}></div>
			</div>
		</div>
	</div>
	<div class="main_right">
		<div class="commonbox02">
			<h3>推荐商家</h3>
			<div class="box">
				<div class="recomdealer">
					<{foreach from=$comdealer key=skey item=comdealerlist}>
					<p class="clearfix"><span <{if $skey<3}>class="num01"<{else}>class="num02"<{/if}>><{$skey+1}></span><a href="<{$weburl}>/index.php?m=shop&id=<{$comdealerlist.id}>" target="_blank" class="fl pl10"><{$comdealerlist.company}></a></p>
					<{/foreach}>
				</div>
			</div>
		</div>
	</div>
</div>
<{include file="default/`$setting.templates`/foot.html" }>
</body>
</html>